#!/bin/bash

projectDir="/home/radek/projekty/testyZlecenia"


mysqldump --verbose --user=root --password=has10elko --databases testyZlecenia  --add-drop-database > "$projectDir/dev/rkdbdump"

find $projectDir -printf "%m;%U;%G;$projectDir/%P\n" | grep -v "$projectDir/cache" | grep -v "$projectDir/log" | grep -v ".svn" > "$projectDir/dev/rkperms_data"

svn add --force $projectDir/*
